{% extends "qa_base.html" %}
{% block content %}
<div id="wrapper">
<div id="room">
<div id="CAFull">
                    
<!-- Tabs -->
<div class="tabBar">
    <div class="headQuestions">标签列表</div>
    
<div class="tabsA">
<a href="/qa/tags/?q={{ query|escape }}&amp;t=tag&amp;Submit=搜索&sort=name" {% if content == 'name' %}class="on"{% endif %}title="按名称的字母先后顺序排序">按名称排序</a>
<a href="/qa/tags/?q={{ query|escape }}&amp;t=tag&amp;Submit=搜索&sort=used" {% if content == 'used' %}class="on"{% endif %}title="按标签被使用的次数排序">by popularity</a></div>
</div>
<div id="searchtags">
<p>
    匹配查询 '<span class="darkred"><strong>{{ query|escape }}</strong></span>':
</p>

<ul class="tagsList tags">
 {% for tag in tags %}
    {% for tagcount in tagscount %}
        {% if forloop.parentloop.counter0 == forloop.counter0 %}
   <li>
    <a class="tag-link-{{ tag.name }}" href="/qa/tags/{{ tag.name }}/" title="查看有关'{{ tag.name }}'的问题" rel="tag">
{{tag.name|slice:':22'}}{%if tag.name|length >= 22 %}..{%endif%}
    </a>&nbsp;
    <span class="tag-number">&#215; {{ tagcount }}</span>
    <br/>
    </li>
        {% endif %}
    {% endfor %}
{% endfor %}
   <!--<li>
    <a class="tag-link-django1.3" href="/tags/django1.3/" title="查看有关'django1.3'的问题" rel="tag">
        django1.3
    </a>&nbsp;
    <span class="tag-number">&#215; 3</span>
    <br/>

    </li>

   <li>
    <a class="tag-link-django.contrib.sites" href="/tags/django.contrib.sites/" title="查看有关'django.contrib.sites'的问题" rel="tag">
        django.contrib.sites
    </a>&nbsp;
    <span class="tag-number">&#215; 1</span>
    <br/>

    </li>-->
</ul>
</div>
</div>
<div id="tail" style="clear:both;">
                    
<div class="pager">
</div>              
</div>
</div>
<div class="spacer3"></div>
</div>
{% endblock %}